<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>170-生成随机整数.html</title>
</head>
<body>
	
</body>
<script>
	function getRandom(min,max){
		return Math.round(min+(max-min)*Math.random());
	}
	console.log(getRandom(200,300));
</script>
</html>